home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / mac / DirectX SDK / DXSDK / samples / Multimedia / DirectDraw / RefreshRate / refreshrate.mak < prev    next >
Text File  |  2001-10-08  |  5KB  |  202 lines

  1. # Microsoft Developer Studio Generated NMAKE File, Based on refreshrate.dsp
  2. !IF "$(CFG)" == ""
  3. CFG=RefreshRate - Win32 Debug
  4. !MESSAGE No configuration specified. Defaulting to RefreshRate - Win32 Debug.
  5. !ENDIF 
  6.  
  7. !IF "$(CFG)" != "RefreshRate - Win32 Release" && "$(CFG)" != "RefreshRate - Win32 Debug"
  8. !MESSAGE Invalid configuration "$(CFG)" specified.
  9. !MESSAGE You can specify a configuration when running NMAKE
  10. !MESSAGE by defining the macro CFG on the command line. For example:
  11. !MESSAGE 
  12. !MESSAGE NMAKE /f "refreshrate.mak" CFG="RefreshRate - Win32 Debug"
  13. !MESSAGE 
  14. !MESSAGE Possible choices for configuration are:
  15. !MESSAGE 
  16. !MESSAGE "RefreshRate - Win32 Release" (based on "Win32 (x86) Application")
  17. !MESSAGE "RefreshRate - Win32 Debug" (based on "Win32 (x86) Application")
  18. !MESSAGE 
  19. !ERROR An invalid configuration is specified.
  20. !ENDIF 
  21.  
  22. !IF "$(OS)" == "Windows_NT"
  23. NULL=
  24. !ELSE 
  25. NULL=nul
  26. !ENDIF 
  27.  
  28. !IF  "$(CFG)" == "RefreshRate - Win32 Release"
  29.  
  30. OUTDIR=.\Release
  31. INTDIR=.\Release
  32. # Begin Custom Macros
  33. OutDir=.\Release
  34. # End Custom Macros
  35.  
  36. ALL : "$(OUTDIR)\refreshrate.exe"
  37.  
  38.  
  39. CLEAN :
  40.     -@erase "$(INTDIR)\RefreshRate.obj"
  41.     -@erase "$(INTDIR)\RefreshRate.res"
  42.     -@erase "$(INTDIR)\vc60.idb"
  43.     -@erase "$(OUTDIR)\refreshrate.exe"
  44.  
  45. "$(OUTDIR)" :
  46.     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  47.  
  48. CPP=cl.exe
  49. CPP_PROJ=/nologo /ML /W3 /GX /O2 /I "..\wavutil" /I "..\..\common\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /Fp"$(INTDIR)\refreshrate.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
  50.  
  51. .c{$(INTDIR)}.obj::
  52.    $(CPP) @<<
  53.    $(CPP_PROJ) $< 
  54. <<
  55.  
  56. .cpp{$(INTDIR)}.obj::
  57.    $(CPP) @<<
  58.    $(CPP_PROJ) $< 
  59. <<
  60.  
  61. .cxx{$(INTDIR)}.obj::
  62.    $(CPP) @<<
  63.    $(CPP_PROJ) $< 
  64. <<
  65.  
  66. .c{$(INTDIR)}.sbr::
  67.    $(CPP) @<<
  68.    $(CPP_PROJ) $< 
  69. <<
  70.  
  71. .cpp{$(INTDIR)}.sbr::
  72.    $(CPP) @<<
  73.    $(CPP_PROJ) $< 
  74. <<
  75.  
  76. .cxx{$(INTDIR)}.sbr::
  77.    $(CPP) @<<
  78.    $(CPP_PROJ) $< 
  79. <<
  80.  
  81. MTL=midl.exe
  82. MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32 
  83. RSC=rc.exe
  84. RSC_PROJ=/l 0x409 /fo"$(INTDIR)\RefreshRate.res" /d "NDEBUG" 
  85. BSC32=bscmake.exe
  86. BSC32_FLAGS=/nologo /o"$(OUTDIR)\refreshrate.bsc" 
  87. BSC32_SBRS= \
  88.     
  89. LINK32=link.exe
  90. LINK32_FLAGS=odbc32.lib odbccp32.lib dxerr8.lib ddraw.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /incremental:no /pdb:"$(OUTDIR)\refreshrate.pdb" /machine:I386 /out:"$(OUTDIR)\refreshrate.exe" /stack:0x200000,0x200000
  91. LINK32_OBJS= \
  92.     "$(INTDIR)\RefreshRate.obj" \
  93.     "$(INTDIR)\RefreshRate.res"
  94.  
  95. "$(OUTDIR)\refreshrate.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  96.     $(LINK32) @<<
  97.   $(LINK32_FLAGS) $(LINK32_OBJS)
  98. <<
  99.  
  100. !ELSEIF  "$(CFG)" == "RefreshRate - Win32 Debug"
  101.  
  102. OUTDIR=.\Debug
  103. INTDIR=.\Debug
  104. # Begin Custom Macros
  105. OutDir=.\Debug
  106. # End Custom Macros
  107.  
  108. ALL : "$(OUTDIR)\refreshrate.exe"
  109.  
  110.  
  111. CLEAN :
  112.     -@erase "$(INTDIR)\RefreshRate.obj"
  113.     -@erase "$(INTDIR)\RefreshRate.res"
  114.     -@erase "$(INTDIR)\vc60.idb"
  115.     -@erase "$(INTDIR)\vc60.pdb"
  116.     -@erase "$(OUTDIR)\refreshrate.exe"
  117.     -@erase "$(OUTDIR)\refreshrate.ilk"
  118.     -@erase "$(OUTDIR)\refreshrate.pdb"
  119.  
  120. "$(OUTDIR)" :
  121.     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  122.  
  123. CPP=cl.exe
  124. CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\common\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /Fp"$(INTDIR)\refreshrate.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
  125.  
  126. .c{$(INTDIR)}.obj::
  127.    $(CPP) @<<
  128.    $(CPP_PROJ) $< 
  129. <<
  130.  
  131. .cpp{$(INTDIR)}.obj::
  132.    $(CPP) @<<
  133.    $(CPP_PROJ) $< 
  134. <<
  135.  
  136. .cxx{$(INTDIR)}.obj::
  137.    $(CPP) @<<
  138.    $(CPP_PROJ) $< 
  139. <<
  140.  
  141. .c{$(INTDIR)}.sbr::
  142.    $(CPP) @<<
  143.    $(CPP_PROJ) $< 
  144. <<
  145.  
  146. .cpp{$(INTDIR)}.sbr::
  147.    $(CPP) @<<
  148.    $(CPP_PROJ) $< 
  149. <<
  150.  
  151. .cxx{$(INTDIR)}.sbr::
  152.    $(CPP) @<<
  153.    $(CPP_PROJ) $< 
  154. <<
  155.  
  156. MTL=midl.exe
  157. MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32 
  158. RSC=rc.exe
  159. RSC_PROJ=/l 0x409 /fo"$(INTDIR)\RefreshRate.res" /d "_DEBUG" 
  160. BSC32=bscmake.exe
  161. BSC32_FLAGS=/nologo /o"$(OUTDIR)\refreshrate.bsc" 
  162. BSC32_SBRS= \
  163.     
  164. LINK32=link.exe
  165. LINK32_FLAGS=odbc32.lib odbccp32.lib comctl32.lib dxerr8.lib ddraw.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /incremental:yes /pdb:"$(OUTDIR)\refreshrate.pdb" /debug /machine:I386 /out:"$(OUTDIR)\refreshrate.exe" /pdbtype:sept /stack:0x200000,0x200000
  166. LINK32_OBJS= \
  167.     "$(INTDIR)\RefreshRate.obj" \
  168.     "$(INTDIR)\RefreshRate.res"
  169.  
  170. "$(OUTDIR)\refreshrate.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  171.     $(LINK32) @<<
  172.   $(LINK32_FLAGS) $(LINK32_OBJS)
  173. <<
  174.  
  175. !ENDIF 
  176.  
  177.  
  178. !IF "$(NO_EXTERNAL_DEPS)" != "1"
  179. !IF EXISTS("refreshrate.dep")
  180. !INCLUDE "refreshrate.dep"
  181. !ELSE 
  182. !MESSAGE Warning: cannot find "refreshrate.dep"
  183. !ENDIF 
  184. !ENDIF 
  185.  
  186.  
  187. !IF "$(CFG)" == "RefreshRate - Win32 Release" || "$(CFG)" == "RefreshRate - Win32 Debug"
  188. SOURCE=.\RefreshRate.cpp
  189.  
  190. "$(INTDIR)\RefreshRate.obj" : $(SOURCE) "$(INTDIR)"
  191.  
  192.  
  193. SOURCE=.\RefreshRate.rc
  194.  
  195. "$(INTDIR)\RefreshRate.res" : $(SOURCE) "$(INTDIR)"
  196.     $(RSC) $(RSC_PROJ) $(SOURCE)
  197.  
  198.  
  199.  
  200. !ENDIF 
  201.  
  202.